package com.example.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Auth;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 权限sql
 */
@Repository
public interface AuthMapper extends BaseMapper<Auth> {
    /**
     * 通过角色账号 查询对应的权限信息
     * @param roleId
     * @return
     */
    List<Auth> getAllAuthByRoleId(String roleId);
}
